package com.kiki.comment.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.kiki.common.annotation.Excel;
import com.kiki.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 音乐评论对象 comment
 * 
 * @author 林志毅
 * @date 2025-01-08
 */
@Data
public class Comment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评论ID */
    private Long commentId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 音乐ID */
    @Excel(name = "音乐ID")
    private Long songId;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String content;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发表日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;
}
